package com.halflife.framework.generator.template.mapper;

import com.halflife.framework.generator.GenerateUtil;
import com.halflife.framework.generator.annotation.Join;
import com.halflife.framework.generator.annotation.QueryAnn;
import org.apache.commons.lang.StringUtils;

import javax.management.Query;
import java.lang.reflect.Field;
import java.util.Map;

/**
 * Created by zhaoyf on 2018/6/18.
 */
public class SqlAnalysis extends BaseAnalysis {
    public SqlAnalysis(Class clazz) {
        super(clazz);
    }
    private int index=0;

    @Override
    protected void setPrefix() {
        this.xmlStr.append( "<sql id=\"Base_Column_List\">\n");
        this.xmlStr.append(this.fieldStrs);

    }
    protected void fieldAnaysis1() {

    }



    @Override
    protected String getValue1(CustomField customField) {
        return "";
    }



    ;

    protected void setSuffix() {

        this.xmlStr.append( "\n</sql>");
    }

    ;
}
